body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* other */
a{
    color: #135AF2;
    text-decoration: none;
}
/* 小标题 */
.info_title{
    margin: 0 auto;
    width: 150px;
    line-height: 50px;
    border-bottom: 5px solid #135AF2;
    text-align: center;
    color: #135AF2;
    font-size: 1.5rem;
    font-weight: bolder;
}



/* ------------header style------------------------ */
#nav_bar{
    font-size: 1.5rem;
    font-weight: bolder;
    color: #135AF2;
    line-height:50px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 1px 1px gray;
}
#nav_bar>#nav_bar_Name{
    margin: 0 10px 0 100px;
    transition: transform 0.5s ease-in;
}
#nav_bar_dropDownMenu{
    /* 上面设置了 下距 这里下拉菜单要回去一些 */
    margin:-10px 0 0 0;
    list-style-type: none;
    /* 隐藏将展开的菜单！！ */
    height: 0px;
    overflow: hidden;
}
/* 鼠标触动-展开菜单！！ */
#nav_bar_Name:hover #nav_bar_dropDownMenu{
    height: max-content;
}
#nav_bar_dropDownMenu li{
    margin: 1px 0 1px 0;
    font-size: 1.2rem;
    text-align: center;
    line-height: 40px;
}
#nav_bar_dropDownMenu li:hover{
    background-color: #135AF2;
    border-radius: 100px/100px;
    transition: all 1s ease-in;
}
#nav_bar_dropDownMenu a{
    color: black;
}
#nav_bar_dropDownMenu a:hover{
    color:tomato;
    transition: all 0.5s ease;
}
#nav_bar span{
    margin: 0 100px 0 0;
}
#nav_bar >#nav_bar_Info >span >a:hover{
    color: tomato;
    /*不起效
    transform-origin: 0 0;
    transform:scale(1.1); */
}
#nav_bar > #nav_bar_Name > a:hover{
    color: tomato;

    /* 不起效-因为transform对行内元素无效-a标签是行内元素！！！！！！ */
    display: block; /* 改成块元素，即可起效 */
    transform-origin: 50% 50%;
    transform:scale(1.2);
    transition: transform 0.5s ease-in;
}

/* ------------main style---------------------------------- */
/* ------------main style aboutme ------------------------- */
#main{
    margin: 0 100px;
    /* border: 1px solid red; */
}

/* #main_am_info,
#main_am_img,
#main_am_instruction{
    border: 1px solid black;
}  */

#am{
    margin: 50px 50px 0 50px ;
    /* grid layout */
    display: grid;
    /* 分成平等4格 */
    grid-template-columns: 50% 50%;
    grid-template-rows: 400px 400px;
}
#main_am_info{
    padding-top: 80px;
    font-size: 3rem;
    font-weight: bolder;
}
#main_am_info #myName{
    color: #135AF2;
}
#main_am_img>img{
    /* 图片自动匹配 */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
#main_am_instruction{
    padding-top:20px;
    /* 根据grid 占据第二行所有格子 */
    grid-column: 1/3;
    grid-row: 2/3;
    height: 100%;
    text-align: center;
}
#main_am_instruction table{
    margin: 0 auto;   
    text-align: left;
}
#main_am_instruction > table th{
    color: #135AF2;
}
#main_am_instruction > table th,td{
    padding: 10px 0px 0 50px;
}

/* ------------main style skill ------------------------- */
/* #main_skill,
#main_skill_img,
#main_skill_front,
#main_skill_back{
    border: 1px solid black;
} */
#sl{
    margin: 60px 0;
}
#main_skill{
    padding: 30px 0;
    display: flex;
    justify-content:space-around
}
#main_skill_img{
    width: 500px;
    height: 400px; 
    background: url("img/work_4.jpg") no-repeat;
    border-radius: 10px;
}
#main_skill dt{
    font-size: 1.5rem;
    padding: 10px;
}
#main_skill dd{
    list-style: circle;
    font-size: 1.2rem;
    padding: 5px;
}
.front,.back{
    margin: 0;
    padding: 0;
    color: black;
}
.skillName,.precent{
    color: #135AF2;
    font-weight: bold;
}
.rangeTool{
    width: 200px;
}


/* ------------main style works ------------------------- */
#wk{
    width: 100%;
    margin: 60px 0;
    box-shadow: 1px 2px 5px 5px rgba(0, 0, 0, 0.61);
} 
#main_work{
    width: 100%;
}
#main_work_content{
    background: url("img/work_4.jpg") no-repeat;
    width: 500px;
    height: 400px;
    border-radius: 10px;
}

.swiper {
    width: 100%;
    height: fit-content;    
}  
.swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide a{
    display: block;
    width: 100%;
    height: 100%;
}
.swiper-slide img{
    width: 100%;
    height: 100%;
    background-size: contain;
}




/* ------------main style contact ------------------------- */
#ct{
    width: 100%;
    margin: 60px 0;
}
#main_ct{
    width: 100%;
    padding-top: 40px;
    /* border: 1px solid black; */
    display: flex;
    justify-content: space-between;
    /* 行、列距离 */
    /* 行 */
    grid-row-gap: 40px;
    /* 列 */
    grid-column-gap: 20px;
    /* 所有item居中 */
    justify-items: center;
} 
#main_ct .ct_link{
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    text-align: center;
    /* border: 1px solid black; */
}
#main_ct .ct_link:hover{
    color: #135AF2;
}
#main_ct img{
    width: 60px;
    height: 60px;
}

/* ------------footer style------------------------------------ */

#footer{
    color: #135AF2;
    padding: 60px 0 100px 0;
    background-color: rgb(0, 0, 0);
    position: relative;
}
#ft_content{
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* border: 2px solid red; */
}
#ft_content h1{
    margin: 10px auto;
}
#ft_content img{
    width: 20px;
    height: 20px;
    /* 解决img底部留白 */
    vertical-align:top;
}